package com.mioto.ld.module.device.model;

import java.io.Serializable;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
/**
 * 设备按键时长上报记录实体
 * @author mioto
 * @date 2024-06-13 20:16:51
 */
@Data
@ApiModel(value = "设备按键时长上报记录")
public class DevicePressTimeLog implements Serializable{

    private static final long serialVersionUID=DevicePressTimeLog.class.getName().hashCode();
    

    @ApiModelProperty(value = "id")
    private Integer id;

    @ApiModelProperty(value = "设备id")
    private Integer deviceId;

    @ApiModelProperty(value = "按键时长")
    private Integer pressTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @ApiModelProperty(value = "上报时间")
    private Date reportDate;
    
}